package com.borrowed.book.book.domain;

import io.swagger.annotations.ApiModelProperty;

public class SShippingAddress {
    private Long id;

    private String openid;

    @ApiModelProperty(value ="收件人",example = "王继涛",dataType = "String",required = true)
    private String receiver;

    @ApiModelProperty(value ="收件人手机号码",example = "18896969578",dataType = "String",required = true)
    private String phoneNumber;

    @ApiModelProperty(value ="省",example = "江苏省",dataType = "String",required = true)
    private String province;

    @ApiModelProperty(value ="市",example = "苏州市",dataType = "String",required = true)
    private String city;

    @ApiModelProperty(value ="区",example = "工业园区",dataType = "String",required = true)
    private String district;

    @ApiModelProperty(value ="街道",example = "斜塘街道",dataType = "String")
    private String street;

    @ApiModelProperty(value ="详细地址",example = "启泰路96号",dataType = "String")
    private String detailAddress;

    @ApiModelProperty(value ="是否为默认收件地址（字典：yesOrNo）",example = "0",dataType = "Integer")
    private Integer isdefault;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver == null ? null : receiver.trim();
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber == null ? null : phoneNumber.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district == null ? null : district.trim();
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street == null ? null : street.trim();
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress == null ? null : detailAddress.trim();
    }

    public Integer getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }
}